<include file="Public:header" />
<include file="Public:leftside" />
<script src="/Store/js/My97DatePicker/WdatePicker.js"></script>
<script src="/static/js/layer2.1/layer.js"></script>
<style type="text/css">
	.panel-heading {
		padding: 10px 15px 35px;
	}
</style>
<div class="main-content">
	<div class="breadcrumbs breadcrumbs-fixed" id="breadcrumbs">
		<ul class="breadcrumb">
			<li> <i class="icon-home home-icon"></i> <a href="/">会员等级</a> </li>
			<li class="active">添加会员等级</li>
		</ul>
	</div>
	<section class="scrollable wrapper">

		<section class="panel panel-default">
			<header class="panel-heading text-right bg-light">
				<ul class="nav nav-tabs pull-left">
					<!--<li class="active"><a href="#wpay" data-toggle="tab">注册会员</a></li>-->
					<li class=""><a href="#alipay" data-toggle="tab">会员等级</a></li>
				</ul>
				<span class="hidden-sm"></span>
			</header>
			<div class="panel-body">
				<div class="tab-content">

					<div class="tab-pane fade active in" id="alipay">
						<div class="panel-body">

							<form class="form form-horizontal" action="{:U('Member/grade_add')}" method="post" role="form">
								<div class="line line-dashed line-lg pull-in"></div>
								<div class="form-group">
									<label class="col-sm-2 control-label">会员等级名称*</label>
									<div class="col-md-2">
										<input type="text" class="form-control" datatype="required" data="会员等级名称" name="gradeName" required="" value="{$w_config.gradeName}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">售卡金额*</label>
									<div class="col-md-2">
										<input type="text" class="form-control" datatype="required"  data="售卡金额"  name="money" required="" value="{$w_config.money}" >
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">最低积分*</label>
									<div class="col-md-2">
										<input type="text" class="form-control" datatype="required" data="最低积分" name="min_integral" required="" value="{$w_config.min_integral}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">消费折扣设置*</label>
									<div class="col-md-2">
										<input type="text" class="form-control" datatype="required" data="消费折扣设置" name="discount" required="" value="{$w_config.discount}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">消费积分设置*</label>
									<div class="col-md-2">
										<input type="text" class="form-control" datatype="required" data="消费积分设置" name="points" required="" value="{$w_config.points}">
									</div>
								</div>
								<div class="form-group">
									<label class="col-sm-2 control-label">代言红包设置*</label>
									<div class="col-md-2">
										<input type="text" class="form-control" datatype="required" data="代言红包设置" name="daiyan" required="" value="{$w_config.daiyan}">
									</div>
								</div>
								<div class="form-group">
									<div class="col-sm-4 col-sm-offset-2">
										<button class="btn btn-info formSubmit" id="form" type="button"><i class="icon-ok bigger-110"></i>提交</button>
										&nbsp; &nbsp; &nbsp;
										<button class="btn" type="button" onclick="history.back(-1);"><i class="icon-undo bigger-110"></i>返回</button>
									</div>
								</div>
							</form>
						</div>
					</div>
				</div>
			</div>
		</section>
	</section>
	<include file="Public:footer" />